package src.percolation;


import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;

import src.utils.XYPosition;

public class Testing {

	public static void main(String[] argvs) throws IOException {
		
		int large = 1000;
		Random gen = new Random();
		
		
		Red red = new Red(large,gen.nextLong());
		
		double probability = 0.4;
		red.createGrid(probability);
		
		//red.showGrid();
		//red.showClusters();
		red.makeImageFile("name"+probability*100);
		
	}
	
}
